<?php

declare(strict_types=1);
/**
 * This file is part of bearing-web.
 *
 * @link     https://www.bearing.cn/
 * @contact  tech@bearing.cn
 * @license  https://gitee.com/cppo/bearing_web/-/blob/master/README.md
 */

use yii\console\Application;
use yii\rbac\DbManager;
use yii\web\User;

class Yii
{
    public static __Application|Application|yii\web\Application $app;
}

/**
 * @property DbManager $authManager
 * @property __WebUser|User $user
 */
class __Application
{
    /**
     * @var null|mixed|object
     */
    public mixed $redis;
}

/**
 * @property \common\models\UserModel $identity
 */
class __WebUser {}
